<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
        <link rel="stylesheet" type="text/css" href="__THEMES__/style/common.css" />
        <link rel="stylesheet" type="text/css" href="__THEMES__/style/admin_ui.css" />
        <script type="text/javascript" src="__JS__/jQuery/jquery.js"></script>
        <include file="Public:js_navigation" />
        <include file="Public:js_sidebar" />
		<title>{:C('ADMIN_TITLE')}</title>
	</head>
	<body>
		<include file="Public:header" />
        
        <div class="layout">
            
            <include file="Public:position" />
            
            <table class="warp" cellpadding="0" cellspacing="0">
                <tr>
                    <td class="sidebar" valign="top">
                        <include file="Public:sidebar" />
                    </td>
                    <td class="contents" valign="top">
                        
                        <ul class="act_this">
				    		<li class="this">常规设置</li>
				    		<li><a href="{:U('system?tag='.$_GET['tag'])}">系统属性</a></li>
				    		<li><a href="{:U('attachment?tag='.$_GET['tag'])}">附件设置</a></li>
				    		<li><a href="{:U('modtype?tag='.$_GET['tag'])}">模型类型设置</a></li>
				    	</ul>
                        
                        <div class="a_table">
                        <form action="__URL__/update" method="post">
				    	<table cellspacing="1" width="100%" class="form_table">
							<volist id="vo" name="list">
							<tr rel="{$vo['id']}">
								<td align="right">{$vo.conf_name}</td>
								<td align="left">
									<?php
										if ($vo['conf_type'] == 'text'){
									?>
									<input type="text" name="conf_list[{$vo.id}]" class="input_text w480" value="{$vo.conf_value}" />
									<?php
										}elseif($vo['conf_type'] == 'textarea'){
									?>
									<textarea name="conf_list[{$vo.id}]" class="input_text" style="width:600px; height:100px;">{$vo.conf_value}</textarea>
									<?php
										}
									?>
								</td>
							</tr>
							</volist>
							<tr>
								<td></td>
								<td>
									<div class="submit_default_box">
										<input type="submit" class="submit_default" name="common" value="提交表单" />
										<span class="submit_default_icon" id="submit_icon"></span>
									</div>
								</td>
							</tr>
						</table>
						</form>
                        </div>
                    </td>
                </tr>
            </table>
        </div>
        
        <include file="Public:footer" />
	</body>
</html>